package oop;

public class Person {
    //成员变量
    public String name;
    public int age;
    //方法
    public void say(String content)
    {
        System.out.println(content);
    }
    public static void main(String[] args) {
        Person p=new Person();
        p.name="hd";
        p.say("666java大帝");
        System.out.println(p.name);
    }

}
